//
//  FSLeaderDetailCell.m
//  WZSOA
//
//  Created by 刘沿 on 16/7/5.
//  Copyright © 2016年 刘沿. All rights reserved.
//

#import "FSLeaderDetailCell.h"

@implementation FSLeaderDetailCell

+(instancetype)LeaderDetailCell{

    return [[[NSBundle mainBundle] loadNibNamed:@"FSLeaderDetailCell" owner:nil options:nil] lastObject];
}


-(void)setIndexPath:(NSInteger)indexPath{

    _indexPath = indexPath;

    if (indexPath == 0) {
        
        self.titleLabel.text = @"星期一:";
        
        self.desLabel.text = self.array[0];
        
    }else if(indexPath == 1){
        self.titleLabel.text = @"星期二:";

        self.desLabel.text = self.array[1];

    
    }else if(indexPath == 2){
        
        self.titleLabel.text = @"星期三:";
        self.desLabel.text = self.array[2];

        
    }else if(indexPath == 3){
        
        self.titleLabel.text = @"星期四:";

        self.desLabel.text = self.array[3];

    }else if(indexPath == 4){
        
        self.titleLabel.text = @"星期五:";
        self.desLabel.text = self.array[4];

        
    }else if(indexPath == 5){
        
        self.titleLabel.text = @"星期六:";
        self.desLabel.text = self.array[5];

        
    }else{
        
        self.titleLabel.text = @"星期日:";
        self.desLabel.text = self.array[6];

        
    }
    
    
    


}





@end
